package com.quanyan.ic.vendingMachine.constant;

/**
 * Created by zhuo.shi on 2017/7/26.
 * 库存检测报警级别
 */
public enum InventoryWarningLevel {

    GREEN(0, "GREEN"), YELLOW(1, "YELLOW"), RED(2, "RED");

    private int level;
    private String warning;

    InventoryWarningLevel(int level, String warning) {
        this.level = level;
        this.warning = warning;
    }

    public int getLevel() {
        return level;
    }

    public String getWarning() {
        return warning;
    }
}
